package com.linkhub.oms.dao.mpservice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.linkhub.oms.entity.LocalProductEntity;
import com.linkhub.oms.entity.LocalProductSupplierEntity;
import com.linkhub.oms.entity.resulttype.entryorder.EntryOrderLineResultEntity;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 本地商品供应商表 服务类
 * </p>
 *
 * @author echo
 * @since 2024-05-04
 */
public interface ILocalProductSupplierService extends IService<LocalProductSupplierEntity> {


    List<EntryOrderLineResultEntity> queryUserSupplierSkuList( String userId, String supplierId, Collection<String> skus );

    List<LocalProductEntity> queryLocalProductsBySupplierId( String supplierId, Boolean isRecordStock );

    List<LocalProductSupplierEntity> querySysSupplierIdBySkuId( String userId, String skuId );

    void removeByUserIdAndSkuId( String merchantUserId, String skuId );
}
